<?php
/**
 * ShopEx licence
 *
 * -------
 * @license  http://ecos.shopex.com/license/gpl GPL License
 */

function widget_slideshow(&$setting,&$app){
	if(is_array($setting['pic'])){
		foreach($setting['pic'] as $val){
            if(!empty($val['link']))
                $data[] = $val['link'];
		}
	    if(count($data) == 0){
	        return false;
	    }
	}
	return true;
}

?>